export const Todetails=(data)=>{
    console.log("cation:",data);
return{
    type:'TO_DETAILS',
    payload:data
  }
}